<template>
  <div>
    <el-pagination
      :current-page="currentPage1"
      :page-size="100"
      layout="total, prev, pager, next"
      :total="1000"
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
    />
  </div>
</template>
<script setup>
const currentPage1 = ref(5)
function handleSizeChange(val) {
  currentPage1.value = val
}
function handleCurrentChange(val) {
  currentPage1.value = val
}
</script>
<style scoped lang="scss">
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  img{
    width: 70%;
    max-width: 1200px;
    margin-bottom: 20px;
  }
}
</style>
